package com.zdb.order.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Table;
@Data
@AllArgsConstructor
@Setter
@Getter
@TableName("zdb_common_provinces")
public class Provinces {
    @TableField("id")
    private int id;         //省id
    @TableField("name")
    private String name;    //省名称

    public Provinces() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Provinces{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
